package com.lancoo.cvas.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@TableName("class_room")
@Accessors(chain = true)
@ApiModel("行政班对应教室")
public class ClassRoom implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Long id;


    /**
     * 任务id
     */
    @ApiModelProperty("任务id")
    private Integer taskId;
    /**
     * 任务id
     */
    @ApiModelProperty("学校id")
    private String schoolId;

    /**
     * 任务id
     */
    @ApiModelProperty("学期")
    private String term;
    /**
     * 教学班id
     */
    @ApiModelProperty("行政班id")
    private Long classId;
    /**
     * 教学班名称
     */
    @ApiModelProperty("教室id")
    private Long roomId;
    /**
     * 年级id
     */
    @ApiModelProperty("0 未删除 1 已删除")
    private Integer deleted;

    @ApiModelProperty("添加字段")
    private String reserve;


}
